package cn.iocoder.yudao.module.member.dal.dataobject.company;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

/**
 * 企业管理 DO
 *
 * @author 周枫皓
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompanyUserDO extends BaseDO {

    /**
     * 用户id
     */
    private Long companyId;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 部门
     */
    private String dept;
    /**
     * 职位
     */
    private String job;
    /**
     * 企业名称
     */
    private String companyName;

    /**
     * 企业认证状态
     *
     * 枚举 {@link TODO authorized_status 对应的类}
     */
    private String authorizedStatus;


    @ApiModelProperty(value = "用户id" )
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "账号类型")
    private String roleType;

    @ApiModelProperty(value = "用户名称")
    private String nickname;

    @ApiModelProperty(value = "注册时间")
    private Date createDate;

    @ApiModelProperty(value = "最近登陆时间")
    private Date loginDate;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    private String email;

    private String tel;

    private String creditCode;

    private String businessLicense;

    private String industryType;

    private String postCode;

    private String businessStatus;

    private String registeredCapital;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private Date establishDate;

    private String legalPerson;

    private String scale;

    private String status;
    private String cardNo;
    private String companyType;

    private String companyPicture;

    private String registeredAddress;

    private String businessScope;

    private String companyShortName;

    private String companyLogo;

    private String industry;

    private String introduction;

    private String environment;

    private String companyAddress;

    private String companyCoordinate;

    private String subCompanyRelationshipCertificatePicture;

    private String subCompanyRelationshipCertificateWord;

    private String topStatus;

    private String applyUserName;
    @ApiModelProperty(value = "是否虚拟手机号(0:否,1:是)",example = "0")
    private Integer unrealFlag;

    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;



    /**
     * 身份认证正面图片地址
     */
    private String authenticationFrontPictureUrl;
    /**
     * 身份认证反面图片地址
     */
    private String authenticationBackPictureUrl;
}
